package com.gingersoft.connect.bean;

/**
 * 沽清用的食品信息類
 */
public class SoldOutFoodInfoBean extends SendMsgType {
    /**
     * 食品id
     */
    private String foodId;
    /**
     * 食品名稱
     */
    private String foodName;
    /**
     * 库存數量
     */
    private String inventoryQuantity;

    /**
     * 是否暫停
     **/
    private int isStop;
    /**
     * 是否售罄
     */
    private int isSoldOut;
    /**
     * 食品金額
     */
    private double price;
    /**
     * 食品類型
     */
    private int type;
    public static final int TYPE_MAIN_FOOD = 1;
    public static final int TYPE_FOOD = 2;
    public static final int TYPE_ITEM_SPEC = 3;
    /**
     * 如果為0，type為1 || 2，則是食品組
     * 如果有值，type為1 || 2，則是食品
     * 如果為0，type為3，則是細項組
     * 如果有值，type為3，則是細項
     */
    private String parentId;

    /**
     * 沽清id，某些系統沽清後，會單獨生成沽清記錄，需要通過這個id去操作沽清
     */
    private String soldOutId;

    private String bgColor;

    private String fontColor;
    /**
     * 沽清時間
     */
    private String soldOutTime;
    public static int YES = 1;
    public static int NO = 2;

    public String getFoodId() {
        return foodId;
    }

    public void setFoodId(String foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getInventoryQuantity() {
        return inventoryQuantity;
    }

    public void setInventoryQuantity(String inventoryQuantity) {
        this.inventoryQuantity = inventoryQuantity;
    }

    public int getIsStop() {
        return isStop;
    }

    public void setIsStop(int isStop) {
        this.isStop = isStop;
    }

    public int getIsSoldOut() {
        return isSoldOut;
    }

    public void setIsSoldOut(int isSoldOut) {
        this.isSoldOut = isSoldOut;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getSoldOutId() {
        return soldOutId;
    }

    public void setSoldOutId(String soldOutId) {
        this.soldOutId = soldOutId;
    }

    public String getBgColor() {
        return bgColor;
    }

    public void setBgColor(String bgColor) {
        this.bgColor = bgColor;
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }

    public String getSoldOutTime() {
        return soldOutTime;
    }

    public void setSoldOutTime(String soldOutTime) {
        this.soldOutTime = soldOutTime;
    }
}
